﻿namespace QFramework
{
    using FairyGUI;

    public static class GCOmponentExtension 
    {
        public static void AddChild(this GComponent self, FGUIBehaviour thisBehaviour)
        {
            if (thisBehaviour.m_Compoent != null)
                self.AddChild(thisBehaviour.m_Compoent);
        }
    }
}
